//
//  TabItemView.swift
//  WWDCLearn
//
//  Created by mac on 2021/6/30.
//

import Cocoa
import ConfUIFoundation


final class TabItemView:NSView {
  @objc  var target:Any?
    @objc   var action:Selector?
    var controllerIdentifier:String = ""
    
    lazy var titleLabel: NSTextField = {
        let l = NSTextField()
        return l
    }()
    
    var title: String? {
        didSet{
//            titleLal
        }
    }

    lazy var titleLabel: NSTextField = {
        let l = NSTextField(labelWithString: "")

        l.font = .systemFont(ofSize: 14)
        l.textColor = .toolbarTint
        l.cell?.backgroundStyle = .dark

        return l
    }()
}
